/*******************************************************************************
 * Copyright (c) 2010, 2011 EclipseSource and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    EclipseSource - initial API and implementation
 ******************************************************************************/

/* ExpandBar default theme */

ExpandBar {
  color: #4a4a4a;
}

ExpandBar[BORDER] {
  border: 1px solid #bdbdbd;
  border-radius: 2px;
}

ExpandItem {
  border: 1px solid #bdbdbd;
}

ExpandItem-Header {
  border: none;
  border-radius: 0;
  cursor: pointer;
  background-image: gradient(
    linear, left top, left bottom,
    from( #f9f9f9 ),
    to( #e4e4e4 )
  );
  text-shadow: none;
}

ExpandItem-Header:disabled {
  cursor: default;
}

ExpandItem-Button {
  background-image: url( resource/widget/rap/expanditem/expanditem-expand.png );
}

ExpandItem-Button:hover {
  background-image: url( resource/widget/rap/expanditem/expanditem-expand-hover.png );
}

ExpandItem-Button:expanded {
  background-image: url( resource/widget/rap/expanditem/expanditem-collapse.png );
}

ExpandItem-Button:expanded:hover {
  background-image: url( resource/widget/rap/expanditem/expanditem-collapse-hover.png );
}